<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Matthew Makins' online CV." />
<meta name="keywords" content="Matthew Makins, Matt Makins" />
<link href="templates/mattmakins.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div align="center">
<div id="pageDesign" align="center">

<!-- CONTENT -->

<div id="blogContent">
<p class="pageHeader">Admin Control Panel</p><hr /><br/>

{if $databaseError}
<div id="errors">
<h1>Database cannot be found</h1>
<p>The required database named <b>{$dbname}</b>, cannot be found. Please ensure that the name of
your database matches the name in 'const.php', which at the moment is: <b>{$dbname}</b>.</p>
<p>If you have not yet set up the database please run the <u><a href="admincp.php?do=createDB">automatic script</a></u>, unless you
plan to set it up manually.</p>
</div>
{/if}


<h3>Welcome <b>{$username}</b> to your makeBlog control panel.</h3>
<p>You currently have <b>{$numberOfPosts}</b> posts, in <b>{$numberOfCategories}</b> categories.</p>

<p><a href="admin.cp.php?do=createDB"><u>Create Database</u></a></p>
</div>
</body>
</html>